<#assign className = model.className>
<#assign classNameLower = className?uncap_first>
package ${basepackage}.${moduleName}.dao;

import java.util.List;
import java.util.Map;

import tso.dao.IBaseDao;
import tso.dao.Page;
import tso.lang.*;
import ${basepackage}.${moduleName}.model.${className};

/**
 * ${model.tableAlias} Dao接口
 * @author codeGener
 * @version 1.0
 * @created ${now?string("yyyy-MM-dd HH:mm")}
 */
public interface I${className}Dao extends IBaseDao{

	<#if !model.fatherClazz??>
	<#if pageable==true>
	Page find${className}PageBySearch(Map<String,Object> paramMap,int pageNumber,int pageSize);
	<#else>
	List find${className}ListBySearch(Map<String,Object> paramMap);
	</#if>
	<#else>
	/**
	 * 根据主表id查询明细
	 */
	List<${className}> find${className}s(String ${model.fkProperty.name});
	</#if>
}